package com.the8thfold.anton.ant

import com.the8thfold.anton.users.User
import grails.plugin.multitenant.core.groovy.compiler.MultiTenant

@MultiTenant
class AntScript {

    static constraints = {
        jobs nullable: true
        users nullable: true
    }

    static hasMany = [jobs:AntJob, users:AntScriptUser]

    String scriptId
    String scriptFilePath
    String description
    Date dateCreated
    User createdBy
}
